{extend name="public/base" /} {block name="title"}
<title>归档</title>
<meta name="keywords" content="{:config('web.site_keywords')}">
<meta name="description" content="{:config('web.site_description')}"> {__block__}{/block} {block name="content"}
<div class="col-sm-8">
    <div class="ibox">
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-12">
                    <div class="text-center article-title">
                        <h1>
                            文章归档
                        </h1>
                        <hr/>
                    </div>
                    <div id="vertical-timeline" class="vertical-container dark-timeline ">
                        {foreach name="archive" item="archive_t"}
                        <div class="vertical-timeline-block">
                            <div class="vertical-timeline-icon navy-bg">
                                <i class="fa fa-flag"></i> </div>
                            <div class="vertical-timeline-content">
                                <h3>{$archive_t.time}（共{$archive_t.posts}篇）</h3>
                                <ul class="list-group no-padding">
                                    {$archive_t.time|getArticlesByDate}
                                </ul>
                            </div>
                        </div>
                        {/foreach}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{/block} {block name="script"}{__block__}{/block}